#include "ShaderProgram.h"

namespace Nezha
{

	const _string ShaderProgram::msDefaultShaderName[DST_NUM] =
	{
		"DefaultVertexColor",
		"DefaultDiffuse"
	};

	ShaderProgram::ShaderProgram()
		:mStatus(ShaderProgram::EMPTY)
		,mHasSource(false)
		,mLangType(GLSL)
	{

	}

	ShaderProgram::~ShaderProgram()
	{

	}

	const ShaderParamDesc& ShaderProgram::getParamDesc(u32 i) const
	{
		NZ_ASSERT(i < mParamDescs.size());

		return mParamDescs[i];
	}

	void ShaderProgram::updateShaderParams(RenderPass* pass)
	{
		// TODO
	}
}